Open
Conversation
…metrics calculation
paderinandrey
added a commit
to paderinandrey/task-1
that referenced
this pull request
Mar 7, 2019
paderinandrey
added a commit
to paderinandrey/task-1
that referenced
this pull request
Mar 7, 2019
paderinandrey
added a commit
to paderinandrey/task-1
that referenced
this pull request
Mar 7, 2019
spajic
approved these changes
Mar 7, 2019
| Удалось добиться небольшого ускорения, собрав всю статистику пользователя за одну итерацию (вместо нескольких для каждого вида статистики). | ||
|
|
||
| ### Ваша находка №5 | ||
| Удалось добиться прироста производительности ~30% и сокращения объема потребляемой памяти заменой массива с проверкой на уникальность на `Set`. |
| Удалось улучшить метрику системы с *того, что у вас было в начале, до того, что получилось в конце* | ||
|
|
||
| *Какими ещё результами можете поделиться* | ||
| Удалось улучшить метрику системы с 20 сек и 36 МБ RSS до 0.35 сек и 19 МБ RSS. |
Owner
There was a problem hiding this comment.
А исходный файл в резльтате получилось обработать?
Author
There was a problem hiding this comment.
Да, если нужно могу метрики скинуть
| 1. Построение гипотезы | ||
| 2. Исправление кода | ||
| 3. Запуск скрипта на тестовом файле небольшого объема (1 мб) | ||
| 4. Сопоставление новых метрик с предыдущими |
Owner
There was a problem hiding this comment.
А выполнение тестов включили в фидбек-луп?
Author
There was a problem hiding this comment.
Да, я просто думал что об этом говорит пункт "Гарантия корректности работы оптимизированной программы"
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.